// API 统一入口文件
const userApi = require('./user')
const noticeApi = require('./notice')
const minLivingAllowanceApi = require('./minLivingAllowance')
const complaintsApi = require('./complaints')
const activitiesApi = require('./activities')
const serviceItemsApi = require('./serviceItems')

module.exports = {
  user: userApi,
  notice: noticeApi,
  minLivingAllowance: minLivingAllowanceApi,
  complaints: complaintsApi,
  activities: activitiesApi,
  serviceItems: serviceItemsApi,
  // 收藏相关API通过serviceItems访问
  favorites: {
    add: serviceItemsApi.addFavorite,
    remove: serviceItemsApi.removeFavorite,
    getUserFavorites: serviceItemsApi.getUserFavorites
  }
}
